package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.Address;


import java.util.List;

public interface AddressService {

    public void add(Address address);

    public void deleteById(Integer id);

    public void edit(Address address);

    public Address findById(Integer id);

//    public List<Address> findAll();


    public Address findAddressName(String addressname);

    public Page<Address> pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public List<Address> findAll(Integer uid);

    public void delete(Integer id);
}
